package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.NinePlusFive;

@Mapper
@Repository(value = "ninePlusFiveMapper")
public interface NinePlusFiveMapper {

	List<NinePlusFive> list();

	NinePlusFive getOne(String xxdm);

	int deleteByPrimaryKey(Long xxdm);

	int insert(NinePlusFive record);

	int insertSelective(NinePlusFive record);	

	NinePlusFive selectByPrimaryKey(Long xxdm);

	int updateByPrimaryKeySelective(NinePlusFive record);

	int updateByPrimaryKey(NinePlusFive record);

	List<NinePlusFive> getBlockFour();

	/**
	 * 根据学校ID获取所对应专业列表
	 * 
	 * @param schoolId
	 * @return
	 */
	 List<NinePlusFive> getMajorBySchool(String schoolId);

}